<?php
/**
 * Yii view login
 *
 * @author luunguyen
 * @since Dec 24, 2012 - 5:14:23 PM
 */
$assetPath = $_SERVER['DOCUMENT_ROOT']
    . DIRECTORY_SEPARATOR . Yii::app()->theme->baseUrl
    . DIRECTORY_SEPARATOR . 'asset';
$asset = Yii::app()->getAssetManager()->publish($assetPath);
?>
<!DOCTYPE html>
<html lang="en"  class="body-error"><head>
        <meta charset="utf-8">
        <title><?php echo $this->pageTitle ?></title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">

        <!-- Le styles -->
        <link href="<?php echo $asset; ?>/css/login.css" rel="stylesheet">
        <link href="<?php echo $asset; ?>/css/bootstrap.css" rel="stylesheet">

        <link rel="stylesheet" href="<?php echo $asset; ?>/css/icon/font-awesome.css">    <link rel="stylesheet" href="<?php echo $asset; ?>/css/bootstrap-responsive.css">

        <link rel="alternate stylesheet" type="text/css" media="screen" title="green-theme" href="<?php echo $asset; ?>/css/color/green.css" />
        <link rel="alternate stylesheet" type="text/css" media="screen" title="red-theme" href="<?php echo $asset; ?>/css/color/red.css" />
        <link rel="alternate stylesheet" type="text/css" media="screen" title="black-theme" href="<?php echo $asset; ?>/css/color/black.css" />
        <link rel="alternate stylesheet" type="text/css" media="screen" title="orange-theme" href="<?php echo $asset; ?>/css/color/orange.css" />
        <link rel="alternate stylesheet" type="text/css" media="screen" title="purple-theme" href="<?php echo $asset; ?>/css/color/purple.css" />
        <link rel="alternate stylesheet" type="text/css" media="screen" title="silver-theme" href="<?php echo $asset; ?>/css/color/silver.css" />
        <link rel="alternate stylesheet" type="text/css" media="screen" title="metro-theme" href="<?php echo $asset; ?>/css/color/metro.css" />

        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <!--[if lte IE 8]><script type="text/javascript" src="/js/excanvas.min.js"></script><![endif]-->

        <!-- Le fav and touch icons -->
        <link rel="shortcut icon" href="<?php echo $asset; ?>/images/icons/favicon.ico">

    </head>

    <body>
        <div id="container_demo" >
            <a class="hiddenanchor" id="toregister"></a>
            <a class="hiddenanchor" id="tologin"></a>
            <div id="wrapper">
                <?php echo $content ?>               
            </div>
        </div>  
        <!-- Le javascript
        ================================================== -->
        <!-- Placed at the end of the document so the pages load faster -->
        <script src="<?php echo $asset; ?>/js/jquery.min.js"></script>
    </body>
</html>